{% for item, value in localhost.items %}
    <ul style="list-style-type: none">
    {% for item2, value2 in value.items %}
        {% if item == "load" %}
            <li style="display: inline;">
                {% if value2 < "1.00" %}
                    <span class="badge badge-success">{{value2}}</span>
                {% endif %}
                {% if value2 > "1.00" and value2 < "2.50" %}
                    <span class="badge badge-warning">{{value2}}</span>
                {%endif%}
                {% if value2 > "2.50" %}
                    <span class="badge badge-important">{{value2}}</span>
                {%endif%}
            </li>
        {% endif %}
    {% endfor %}
    </ul>
{%endfor%}
